package admin

import (
	"html/template"
	"xianzhi/service"
)

type OrderPushTimeController struct {
	BaseController
}

func (c *OrderPushTimeController) ShowAllList() {
	p := map[string]interface{}{}
	orderId := c.Ctx.Input.Param(":id")
	c.Data["orderId"] = orderId
	if len(orderId) > 0 {
		p["orderId"] = orderId
	}
	_, recordList := service.GetOrderPushTimeList(p)
	c.Data["recordList"] = recordList
	c.Data["xsrfdata"] = template.HTML(c.XSRFFormHTML())
	c.TplName = "admin/order_push_time/all_list.html"
}